package com.CmJava.entity.blog;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.List;

@TableName("blog")
public class Blog {
    private int id;
    private String blogTitle;
    private String blogSummarize;
    private String blogImg;
    private int visitNum;
    private String createTime;

    public Blog() {
    }

    public Blog(int id, String blogTitle, String blogSummarize, String blogImg,int visitNum, String createTime) {
        this.id = id;
        this.blogTitle = blogTitle;
        this.blogSummarize = blogSummarize;
        this.blogImg = blogImg;
        this.visitNum = visitNum;
        this.createTime = createTime;
    }

    public int getVisitNum() {
        return visitNum;
    }

    public void setVisitNum(int visitNum) {
        this.visitNum = visitNum;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBlogTitle() {
        return blogTitle;
    }

    public void setBlogTitle(String blogTitle) {
        this.blogTitle = blogTitle;
    }

    public String getBlogSummarize() {
        return blogSummarize;
    }

    public void setBlogSummarize(String blogSummarize) {
        this.blogSummarize = blogSummarize;
    }

    public String getBlogImg() {
        return blogImg;
    }

    public void setBlogImg(String blogImg) {
        this.blogImg = blogImg;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
}
